From: Marco Trevisan (TreviƱo) Date: Thu, 7 Dec 2017 00:03:51 +0000 (-0500) Subject: dnd: Declare restore location variables X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~994^2^2~110 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=69da686fa9dc5dbe8c1dae1b8775108d7117f506;p=gnome-shell.git dnd: Declare restore location variables https://bugzilla.gnome.org/show_bug.cgi?id=791233 --- diff --git a/js/ui/dnd.js b/js/ui/dnd.js index a64915bc8..33580ee94 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -583,7 +583,7 @@ var _Draggable = new Lang.Class({ _restoreDragActor: function(eventTime) { this._dragInProgress = false; - [restoreX, restoreY, restoreScale] = this._getRestoreLocation(); + let [restoreX, restoreY, restoreScale] = this._getRestoreLocation(); // fade the actor back in at its original location this._dragActor.set_position(restoreX, restoreY);